<%@page pageEncoding="UTF-8"%>
<%@page import="com.bjpowernode.web.usermanager.bean.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
		<title>Insert title here</title>
		<link href="../style/style.css" rel="stylesheet" type="text/css" />
	</head>

				<div class="right_f">


					<script type="text/javascript">
							function doEdit(){
								document.forms["uform"].submit();
							}
					</script>
					<!--right-->
					<div id="right">
						<!--right_top-->
						<div class="right_top">
							<p>
								用户信息
							</p>
						</div>

						<div class="right_bottom">
<!--							<h1>-->
<!--								<span style="text-align: center; padding-left: 120px;">用户注册</span>-->
<!--							</h1>-->
							<!--nr-->
							<!--baise-->
							
		
							
							<div class="baise">
								<form name="uform" action="${pageContext.request.contextPath}/servlet/userEdit" method="post">
									<input type="hidden" name="id" value="${user.id}">
									<table width="100%" class="table" cellspacing="1"
										style="background: #FFFFFF; font-size: 12px; text-align: center; margin: 0 auto; border: 0;">
										<tr style="background: #FFFFFF; border: 0;">
											<td height="20" align="right" width="46%">
												用户代码：
											</td>
											<td width="54%" style="text-align: left; padding-left: 10px;">
												<input id="ucode" name="ucode" type="text"
													maxlength="20"
													style="width: 165px; padding-left: 5px; border: none; border: solid 1px #C4D0CC;"
													value="${user.ucode}"  readonly />

												<span id="responseInfo" style="color: red"></span>
												<font color='red'>*</font>
											</td>

										</tr>
										<tr style="background: #FFFFFF; border: 0;">
											<td height="20" align="right" width="46%">
												用户名称：
											</td>
											<td width="54%" style="text-align: left; padding-left: 10px;">
												<input id="uname" name="uname" type="text"
													maxlength="20"
													style="width: 165px; padding-left: 5px; border: none; border: solid 1px #C4D0CC;"
													value="${user.uname}" />

												<span id="responseInfo" style="color: red"></span>
												<font color='red'>*</font>
											</td>

										</tr>
										<tr
											style="background: #FFFFFF; border: 0; margin-top: 10px; height: 25px;">
											<td style="width: ;" align="right">
												密码：
											</td>
											<td style="text-align: left; padding-left: 10px;">
												<input id="password" name="pwd" type="password"
													maxlength="20"
													style="width: 165px; padding-left: 5px; border: none; border: solid 1px #C4D0CC;"
													value="${user.pwd }" />
													<font color='red'>*</font>
											</td>

										</tr>


										<tr
											style="background: #FFFFFF; border: 0; margin-top: 10px; height: 25px;">
											<td style="width: ;" align="right">
												密码确认：
											</td>
											<td style="text-align: left; padding-left: 10px;">
												<input id="confirmPWd" name="confirmPWd" type="password"
													maxlength="20"
													style="width: 165px; padding-left: 5px; border: none; border: solid 1px #C4D0CC;"
													value="${user.pwd }" />
													<font color='red'>*</font>
											</td>
										</tr>

										<tr
											style="background: #FFFFFF; border: 0; margin-top: 10px; height: 25px;">

											<td align="right">
												邮箱：
											</td>
											<td style="text-align: left; padding-left: 10px;">
												<input id="email" name="email" type="text" maxlength="20"
													style="width: 165px; padding-left: 5px; border: none; border: solid 1px #C4D0CC;"
													value="${user.email }" />
													<font color='red'>*</font>
											</td>
										</tr>
										
										<tr
											style="background: #FFFFFF; border: 0; margin-top: 10px; height: 25px;">
											<td align="right">

												电话：
											</td>

											<td style="text-align: left; padding-left: 10px;">
												<input id="tel" name="telephone" type="text" maxlength="20"
													style="width: 165px; padding-left: 5px; border: none; border: solid 1px #C4D0CC;"
													value="${user.telephone }" />
													<font color='red'>*</font>
											</td>
										</tr>
										<tr
											style="background: #FFFFFF; border: 0; margin-top: 10px; height: 25px;">
											<td align="right">

											</td>
											<td style="text-align: left; padding-left: 10px;">
												<input name="" value="重新填写" type="button"
													style="cursor:pointer;background: none; border: 0; width: 54px; height: 20px; background-color: #B6DDFC;" />
												<input name="" value="提交信息" type="button"
													onclick="doEdit()"
													style="cursor:pointer;background: none; border: 0; width: 54px; height: 20px; background-color: #B6DDFC; margin-left: 15px;" />


											</td>
										</tr>

									</table>
								</form>

								<script type="text/javascript">
document.getElementById("username").focus();
</script>
							</div>
						</div>
					</div>

				</div>
			</div>
		</div>
	</body>
</html>